package main.java.com.example;

import java.time.LocalDateTime;

public abstract class Customer {

    protected LocalDateTime lastBillDate;

    public void addBill(LocalDateTime date, double amount) {

    }

    protected void createBill(LocalDateTime dateTime) {
        double chargeAmount = chargeFor(lastBillDate, dateTime);
    }

    protected abstract double chargeFor(LocalDateTime lastBillDate, LocalDateTime dateTime);


}
